package com.ebeijia.service.admin.impl;

import com.ebeijia.dto.BindUserDto;
import com.ebeijia.mybatis.mapper.UserInfoMapper;
import com.ebeijia.query.MemberQuery;
import com.ebeijia.service.admin.UserInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by YPJ on 2016/5/16.
 */
@Service
public class UserInfoServiceImpl implements UserInfoService {
   @Resource
    private UserInfoMapper userInfoMapper;


    @Override
    public List<BindUserDto> queryBindUser(MemberQuery memberQuery) {
        return userInfoMapper.queryBindUser(memberQuery);
    }

    @Override
    public int queryBindUserCount(MemberQuery memberQuery) {
        return userInfoMapper.queryBindUserCount(memberQuery);
    }

    @Override
    public List<BindUserDto> selectUserList(MemberQuery memberQuery) {
        return userInfoMapper.selectUserList(memberQuery);
    }

    @Override
    public int selectUserListCount(MemberQuery memberQuery) {
        return userInfoMapper.selectUserListCount(memberQuery);
    }
}
